/* 主视觉区 */
.hero-bg {
    width: 74%;
    height: auto;
    position: relative;
    overflow: hidden;
    background-color: #FCFCFC;
}

.hero {
    display: flex; /* 使用Flexbox实现左右分布 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: space-between;
    margin-top: 10vh;
    color: #002F41;
    
}
    .hero h1 {
        font-family: Roboto;
        font-size: 60px;
        font-weight: 700;
    }
    .hero h2 {
        font-family: Source Han Sans CN;
        font-size: 48px;
        font-weight: 700;
    }
    .hero p {
        font-size: 18px;
        margin-top: 24px;
    }

.map-section {
    width: 100%;
    position: relative;
    box-shadow: 0 2px 18px rgba(46,126,203,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4vh;
}
    .map-section img {
        border: 2px solid #DDD;
        width: 100%;
        height: auto;
        min-height: 420px;
        border-radius: 24px;
        object-fit: cover;
    }
    .map-section span {
        font-size: 18px;
        position: absolute;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 1vh 1.5vh;
        border-radius: 5px;
    }

.contact-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10vh;
    gap: 28px;
}

.info-item {
  flex: 1 1 0;
  background: transparent;
  border-radius: 12px;
  text-align: left;
  padding: 0 12px;
  min-width: 190px;
}
    .info-item img {
      width: 48px;
      height: 48px;
      margin-bottom: 8px;
    }
    .info-item h3 {
      font-size: 20px;
      font-weight: 700;
      color: #183B56;
      margin: 14px 0 8px 0;
      letter-spacing: 0.5px;
    }
    .info-item p {
        width:220px;
        font-size: 16px;
        color: #7a8b9b;
        line-height: 1.7;
    }

/* QR码 PC端样式（替代内联style） */
.info-item.qr-code-item {
    text-align: center;
}
.info-item.qr-code-item img.qr-code-img {
    min-width: 120px;
    width: 120px;
    height: auto;
}
.info-item.qr-code-item p.qr-code-text {
    width: 180px;
    text-align: center;
}

/* ===== H5 手机屏幕适配 ===== */
@media (max-width: 768px) {
    /* 主容器宽度 */
    .hero-bg {
        width: 100%;
        padding: 0 16px;
    }

    /* hero 区域：改为竖排布局 */
    .hero {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1vh;
        gap: 16px;
    }
    .hero h1 {
        font-size: 32px;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    .hero h2 {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    .hero p {
        font-size: 14px;
        margin-top: 8px;
        line-height: 1.5;
        letter-spacing: 0.3px;
    }

    /* 咨询按钮适配 */
    .hero .main-btn {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 24px;
        width: auto;
        align-self: flex-start;
    }
    .hero .main-btn img {
        height: 20px;
    }

    /* 地图区域适配 */
    .map-section {
        margin-top: 3vh;
        border-radius: 16px;
    }
    .map-section img {
        border-radius: 16px;
    }
    .map-section span {
        font-size: 13px;
        padding: 8px 12px;
        border-radius: 4px;
        max-width: 90%;
        text-align: center;
    }

    /* 联系信息区域：两列两行布局 */
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 5vh;
        gap: 16px;
    }

    /* 信息卡片适配 */
    .info-item {
        min-width: auto;
        flex: 1 1 calc(50% - 8px);
        width: calc(50% - 8px);
        padding: 14px 10px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(46,126,203,0.06);
    }
    .info-item img {
        width: 36px;
        height: 36px;
        margin-bottom: 6px;
    }
    .info-item h3 {
        font-size: 17px;
        margin: 10px 0 6px 0;
    }
    .info-item p {
        width: auto;
        min-width: 0;
        font-size: 14px;
        line-height: 1.6;
    }

    /* QR码特殊处理：居中显示 */
    .info-item.qr-code-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .info-item.qr-code-item img {
        min-width: auto !important;
        width: 110px;
        height: auto;
        margin-bottom: 8px;
    }
    .info-item.qr-code-item p {
        width: auto !important;
        text-align: center;
        font-size: 13px;
    }
}

/* ===== 小屏手机（≤480px）进一步适配 ===== */
@media (max-width: 480px) {
    .hero-bg {
        padding: 0 12px;
    }
    .hero {
        margin-top: 1vh;
        gap: 16px;
    }
    .hero h1 {
        font-size: 26px;
        letter-spacing: 0.5px;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .hero h2 {
        font-size: 20px;
        letter-spacing: 0.8px;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    .hero p {
        font-size: 13px;
        margin-top: 6px;
        letter-spacing: 0.2px;
    }
    .hero .main-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .map-section span {
        font-size: 11px;
        padding: 6px 10px;
    }
    .map-section img {
        border-radius: 12px;
    }
    .contact-info {
        margin-top: 4vh;
        gap: 16px;
    }
    .info-item {
        padding: 12px 10px;
    }
    .info-item h3 {
        font-size: 15px;
    }
    .info-item p {
        font-size: 13px;
    }
    .info-item.qr-code-item img {
        width: 100px;
    }
}